/**信息展示开关 */
let showInfoSwitch = {
    path: true, // creep移动的路径是否显示
    source: true,
    spawn: true,
    controller: true,
    room: true,
}
/**信息展示位置偏移量 */
let showInfoPos = {
    source: { x: 0, y: 0 },
    spawn: { x: 0, y: 0 },
    controller: { x: 0, y: 0 },
    room: { x: 0, y: 0 },
}
const recordCpuSecend = 30  // 记录指定秒数的cpu使用情况
/**creep数量控制 */
const creepCount = {
    upgrader: { 0: 2, 1: 2, 2: 2, 3: 2, 4: 2, 5: 2, 6: 2, 7: 2, 8: 2 },
    freeman: { 0: 5, 1: 5, 2: 4, 3: 3, 4: 2, 5: 2, 6: 2, 7: 2, 8: 2 },
}
/**A*寻路建筑物的移动值消耗，未包含在内的则是不可通行建筑 */
const AStarCostPoint = {
    [STRUCTURE_ROAD]: 2,       // 道路
    [STRUCTURE_CONTAINER]: 3,  // 容器
    [STRUCTURE_RAMPART]: 4,    // 门洞
}
export {
    showInfoSwitch,
    showInfoPos,
    recordCpuSecend,
    creepCount,
    AStarCostPoint,
}